package cn.huijielong.modules.group.service;

import cn.huijielong.modules.group.entity.OrderItemEntity;
import cn.huijielong.common.utils.Query;
import java.util.List;
import java.util.Map;
import com.github.pagehelper.Page;

/**
 * 订单商品项
 * 
 * @author xys
 * @email xys@gmail.com
 * @date 2019-07-03 22:46:43
 */
public interface OrderItemService {
	
	OrderItemEntity queryObject(Long orderId);
	
	Page<OrderItemEntity> queryList(Query q);
	
	int queryTotal(Map<String, Object> map);
	
	void save(OrderItemEntity orderItem);
	
	void update(OrderItemEntity orderItem);
	
	void delete(Long orderId);
	
	void deleteBatch(Long[] orderIds);
}
